package com.qinglei.recoup.longconn.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
public class BasicBody extends BodyT {
    private byte[] data = new byte[]{0};

    @Override
    public byte[] encode() {
        return data;
    }

    @Override
    public void decode(byte[] body) {
        this.data = body;
    }
}
